package cn.life.business.user.entity.po;

import cn.life.common.entity.model.Page;

import java.util.Date;

/**
 * @Description:    用户信息表
 * @Author 李佳明
 * @Date 2018/7/5 0005.6:52.
 */
public class UserInfo extends Page{
    /**
     * 用户Id
     */
    private Long userId;
    /**
     * 用户名称
     */
    private String userName;
    /**
     * 登陆用户Id
     */
    private Long loginUserId;
    /**
     * 用户性别：0.男，1.女
     */
    private int userSex;
    /**
     * 用户年龄
     */
    private int userAge;
    /**
     * 用户身份证号
     */
    private String userIdCard;
    /**
     * 用户手机号码
     */
    private String userPhone;
    /**
     * 用户邮箱
     */
    private String userEmail;
    /**
     * 是否是管理者:0.普通用户，1.管理人员
     */
    private int isManager;
    /**
     *  工厂Id
     */
    private Long factoryId;
    /**
     *  工厂名称
     */
    private String factoryName;
    /**
     *  项目Id
     */
    private Long projectId;
    /**
     *  用户角色 1.技术工长，2.技术监管，3.库管人员，4.采购人员，5.管理人员，6.文献人员
     */
    private int userRole;
    /**
     * 极光推送标识
     */
    private String jgPushMark;
    /**
     * 华为推送标识
     */
    private String hwPushMark;
    /**
     * 操作人Id
     */
    private Long oprUserId;
    /**
     * 操作人名称
     */
    private String oprUserName;
    /**
     * 操作人Id
     */
    private Date oprDate;
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getLoginUserId() {
        return loginUserId;
    }

    public void setLoginUserId(Long loginUserId) {
        this.loginUserId = loginUserId;
    }

    public int getUserSex() {
        return userSex;
    }

    public void setUserSex(int userSex) {
        this.userSex = userSex;
    }

    public int getUserAge() {
        return userAge;
    }

    public void setUserAge(int userAge) {
        this.userAge = userAge;
    }

    public String getUserIdCard() {
        return userIdCard;
    }

    public void setUserIdCard(String userIdCard) {
        this.userIdCard = userIdCard;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public int getIsManager() {
        return isManager;
    }

    public void setIsManager(int isManager) {
        this.isManager = isManager;
    }

    public Long getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(Long factoryId) {
        this.factoryId = factoryId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public int getUserRole() {
        return userRole;
    }

    public void setUserRole(int userRole) {
        this.userRole = userRole;
    }

    public String getJgPushMark() {
        return jgPushMark;
    }

    public void setJgPushMark(String jgPushMark) {
        this.jgPushMark = jgPushMark;
    }

    public Long getOprUserId() {
        return oprUserId;
    }

    public void setOprUserId(Long oprUserId) {
        this.oprUserId = oprUserId;
    }

    public String getOprUserName() {
        return oprUserName;
    }

    public void setOprUserName(String oprUserName) {
        this.oprUserName = oprUserName;
    }

    public Date getOprDate() {
        return oprDate;
    }

    public void setOprDate(Date oprDate) {
        this.oprDate = oprDate;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getHwPushMark() {
        return hwPushMark;
    }

    public void setHwPushMark(String hwPushMark) {
        this.hwPushMark = hwPushMark;
    }
}
